﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.Attributes;

namespace BidFunLib.Entity
{
    /// <summary>
    /// 
    /// </summary>
    //[Class(Lazy=true)]
    public class StatsBidObjectGlobal
    {
        /// <summary>
        /// Technical Identifier  
        /// </summary>
        //[Id(Name = "IdStatsBidUserByBidObject")]
        //[Generator(Class = "native")] 
        virtual public Int32 IdStatsBidObjectGlobal { get; set; }

        /// <summary>
        /// Object 
        /// </summary>
        //
        //[Property]
        virtual public Int32 IdBidObject { get; set; }

        virtual public Int32 NbSales { get; set; }

        virtual public Double RealPrice { get; set; }

        virtual public Int32 MinNbUsersLogsOnThisObject { get; set; }
        virtual public Double MeanNbUsersLogsOnThisObject { get; set; }
        virtual public Int32 MaxNbUsersLogsOnThisObject { get; set; }

        virtual public Int32 MinNbUsersConnected { get; set; }
        virtual public Double MeanNbUsersConnected { get; set; }
        virtual public Int32 MaxNbUsersConnected { get; set; }

        virtual public Double MinMeanPointsPaidByUsers { get; set; }
        virtual public Double MeanMeanPointsPaidByUsers { get; set; }
        virtual public Double MaxMeanPointsPaidByUsers { get; set; }

        virtual public Double MinFinalAmount { get; set; }
        virtual public Double MeanFinalAmount { get; set; }
        virtual public Double MaxFinalAmount { get; set; }
    
        virtual public Int32 MinNbBidsByBot { get; set; }
        virtual public Double MeanNbBidsByBot { get; set; }
        virtual public Int32 MaxNbBidsByBot { get; set; }

        virtual public Int32 MinNbBidsManual { get; set; }
        virtual public Double MeanNbBidsManual { get; set; }
        virtual public Int32 MaxNbBidsManual { get; set; }

        virtual public Int32 MinSaleDurationInSeconds { get; set; }
        virtual public Double MeanSaleDurationInSeconds { get; set; }
        virtual public Int32 MaxSaleDurationInSeconds { get; set; }

        virtual public Int32 MinWinnerNbPointsPaid { get; set; }
        virtual public Double MeanWinnerNbPointsPaid { get; set; }
        virtual public Int32 MaxWinnerNbPointsPaid { get; set; }

        virtual public Double MinWinnerPsychologicRatio { get; set; }
        virtual public Double MeanWinnerPsychologicRatio { get; set; }
        virtual public Double MaxWinnerPsychologicRatio { get; set; }
       
        /// <summary>
        /// 
        /// </summary>
        public StatsBidObjectGlobal()
        {
        }


    }

}
